package com.zero.guava.samples.Cache;

public class TradeAccount {

    private String id; //ID
    private String owner; //所有者
    private double balance; //余额

    public TradeAccount(String id, String owner, double balance) {
        this.id = id;
        this.owner = owner;
        this.balance = balance;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "TradeAccount{" +
                "id='" + id + '\'' +
                ", owner='" + owner + '\'' +
                ", balance=" + balance +
                '}';
    }
}
